From c0d31f4091ec3690038c8e28137ccbab4b280b59 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Thu, 7 Nov 2002 01:02:35 +0000 Subject: [PATCH] (maybe_bootstrap): Fix shell variable usage. Handle separate-build-dir case. --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 7640d911129..87f1ea6112e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -715,8 +715,8 @@ dvi: .PHONY: maybe_bootstrap maybe_bootstrap: - @bar="`echo ./lisp/*.elc`"; \ - if [ \( "$(bar)" = './lisp/*.elc' \) -o \( "$(bar)" = '' \) ]; then \ + @bar="`echo $(srcdir)/lisp/*.elc`"; \ + if [ \( "$$bar" = '$(srcdir)/lisp/*.elc' \) -o \( "$bar" = '' \) ]; then \ echo "Your tree does not include the compiled Lisp files."; \ echo "You need to do \`make bootstrap' to build Emacs."; \ echo "Emacs now requires Texinfo version 4.2."; \ -- 2.30.2